package com.pgeneral.user.management.dao;

import com.pgeneral.user.management.entity.UserDepartmentInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserDepartmentinfoMapper {

    int batchInsert(@Param("list") List<UserDepartmentInfo> list);

    List<UserDepartmentInfo> getDepartmentinfoTable(UserDepartmentInfo departmentinfo);

    int deleteInfo(@Param("departmentIds") List<String> departmentIds);

    int updateDepartmentinfoTable(@Param("departmentInfos") List<UserDepartmentInfo> departmentInfos);

    UserDepartmentInfo getInfoByDepartmentId(@Param("departmentId") String departmentId);
}